package com.zhonghe.active4j.filesys.service.impl;


import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhonghe.active4j.filesys.dao.FileInteractiveConfigDao;
import com.zhonghe.active4j.filesys.entity.FileInteractiveConfigEntity;
import com.zhonghe.active4j.filesys.service.FileInteractiveConfigService;


/**
 * 文件交互定义service类
 * @author gyj
 *
 */
@Service("fileInteractiveConfigService")
@Transactional
public class FileInteractiveConfigServiceImpl extends ServiceImpl<FileInteractiveConfigDao, FileInteractiveConfigEntity> implements FileInteractiveConfigService {

	
	@Override
	public void saveUser(FileInteractiveConfigEntity sysConfigEntity, String roleIds) {
		
		super.save(sysConfigEntity);
		
	}

	@Override
	public void saveOrUpdateUser(FileInteractiveConfigEntity sysConfigEntity, String roleIds) {
				
		super.saveOrUpdate(sysConfigEntity);
	}

	@Override
	public void delete(FileInteractiveConfigEntity sysConfigEntity) {
			//删除用户
			super.removeById(sysConfigEntity.getId());
	}

}
